package io.jpress.module.demo.controller;

import io.jboot.web.controller.annotation.RequestMapping;
import io.jpress.core.menu.annotation.AdminMenu;
import io.jpress.web.base.AdminControllerBase;

/**
 * Created by gongtao on 2018/12/29.
 */
@RequestMapping("/admin/demo")
public class _DemoController extends AdminControllerBase {

    @AdminMenu(text = "楼层管理", groupId = "device")
    public void index() {
        render("demo/post_list.html");
    }

    @AdminMenu(text = "机房管理", groupId = "device")
    public void post() {
        render("demo/post_comment_list.html");
    }

    @AdminMenu(text = "数据链路", groupId = "link")
    public void linkIndex() {
        render("demo/category_list.html");
    }


    @AdminMenu(text = "人员管理", groupId = "person")
    public void personIndex() {
        render("demo/post_comment_list.html");
    }

    @AdminMenu(text = "维护记录管理", groupId = "person")
    public void personHistory() {
        render("demo/category_list.html");
    }
}

